GetMediaShadowSync
TheGetMediaShadowSync
function returns the sample number of the shadow sync associated with a given frame difference sample number.
pascal OSErr GetMediaShadowSync (Media theMedia, long frameDiffSampleNum, long *syncSampleNum);
theMedia
- Indicates the media in which the shadow sync sample has been established and the shadow sync number is to be obtained.
frameDiffSampleNum
- Specifies the frame difference sample number associated with the desired shadow sync sample number.
syncSampleNum
- Contains a pointer to the sample number of the shadow sync. If the
frameDiffSample
parameter does not have a shadow sync, 0 is returned in thesyncSampleNum
parameter.ERROR CODES
Memory Manager errors